package com.oa.admin.dto;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

@Data
public class DormApprovalDTO {

    @ApiModelProperty(value = "id")
    @NotNull(message = "<宿舍申请主键id>字段<id>不能为空！")
    private String id;

    @ApiModelProperty(value = "申请ID")
    @NotNull(message = "申请不能为空！")
    private String applyApprovalId;

    @ApiModelProperty(value = "房屋编号")
    @NotNull(message = "<房屋编号>字段<houseNum>不能为空！")
    private String houseNum;

    @ApiModelProperty(value = "入住房间")
    private String dormitory;

    @ApiModelProperty(value = "安排入住日期")
    private Date arrangeTime;

    @ApiModelProperty(value = "备注")
    private String remake;

    @ApiModelProperty(value = "审批状态(1-同意 2-拒绝)")
    @NotNull(message = "<审批状态>字段<status>不能为空！")
    private Integer status;

    @ApiModelProperty(value = "入住物品清单")
    private List<CheckInListAddDTO> checkInListAddDTOList;

}
